home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / wsc4c21.zip / ABOUT.C next >
C/C++ Source or Header  |  1997-05-22  |  493b  |  27 lines

  1. /* about.c */
  2.  
  3. #include <windows.h>
  4. #include "about.h"
  5.  
  6. #ifdef WIN32
  7. BOOL CALLBACK
  8. #else
  9. BOOL FAR PASCAL
  10. #endif
  11. AboutDlgProc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam)
  12. {
  13.  switch (iMsg)
  14.     {
  15.      case WM_INITDIALOG:
  16.          return (TRUE);
  17.  
  18.      case WM_COMMAND:
  19.          if (wParam == IDOK || wParam == IDCANCEL)
  20.            {EndDialog(hDlg, TRUE);
  21.             return (TRUE);
  22.            }
  23.          break;
  24.     }
  25.     return (FALSE);
  26. } /* end AboutDlgProc */
  27.